home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 41.zip / BS1 part 41 / Devpac 2.12 disk 2.adf / include.cbm / devices / bootblock.i < prev    next >
Text File  |  1987-03-31  |  2KB  |  64 lines

  1.         IFND    DEVICES_BOOTBLOCK_I
  2. DEVICES_BOOTBLOCK_I     EQU     1
  3. *************************************************************************
  4. *                                                                       *
  5. *       Copyright (C) 1985, Commodore Amiga Inc.  All rights reserved.  *
  6. *                                                                       *
  7. *************************************************************************
  8.  
  9.  
  10. *************************************************************************
  11. *
  12. * bootblock.i
  13. *
  14. * Source Control
  15. * ------ -------
  16. * $Header: bootblock.i,v 1.2 86/01/20 17:51:43 kodiak Exp $
  17. *
  18. * $Locker:  $
  19. *
  20. * $Log: bootblock.i,v $
  21. *   Revision 1.2  86/01/20  17:51:43  kodiak
  22. *   1/20/86 first release of smaller bootstrap
  23. *   
  24. *   Revision 1.1  86/01/15  18:35:50  kodiak
  25. *   added to rcs for updating in version 1.2
  26. *   
  27. * Revision 27.1  85/06/24  13:15:16  neil
  28. * *** empty log message ***
  29. * Revision 26.2  85/06/18  23:55:38  neil
  30. * Added BBNAME definitions
  31. * Revision 26.1  85/06/17  20:08:25  neil
  32. * *** empty log message ***
  33. *************************************************************************
  34.  
  35. ******* BootBlock definition:
  36.  
  37.  STRUCTURE BB,0
  38.         STRUCT  BB_ID,4         * 4 character identifier
  39.         LONG    BB_CHKSUM       * boot block checksum (balance)
  40.         LONG    BB_DOSBLOCK     * reserved for DOS patch
  41.         LABEL   BB_ENTRY        * bootstrap entry point
  42.         LABEL   BB_SIZE
  43.  
  44. BOOTSECTS       equ     2       * 1K bootstrap
  45.  
  46. BBID_DOS        macro           * something that is bootable
  47.                 dc.b    'DOS',0
  48.                 endm
  49.  
  50. BBID_KICK       macro           * firmware image disk
  51.                 dc.b    'KICK'
  52.                 endm
  53.  
  54.  
  55. BBNAME_DOS      EQU     (('D'<<24)!('O'<<16)!('S'<<8))
  56. BBNAME_KICK     EQU     (('K'<<24)!('I'<<16)!('C'<<8)!('K'))
  57.  
  58.         ENDC
  59.